#-------------------------------------------------
#
# Project created by Trae AI
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = RotationImageAlgorithm
TEMPLATE = lib
CONFIG += shared plugin

# 定义插件导出宏
DEFINES += IMAGEPROCESSINGMANAGERPLUGIN_LIBRARY

# 启用Qt弃用API警告
DEFINES += QT_DEPRECATED_WARNINGS

# 输出路径设置
contains(CONFIG, debug) {
    # 调试模式路径
    contains(QMAKE_HOST.arch, i386) {
        DESTDIR = ../../build/debug/x86/ImageProcessingAlgorithm
    } else {
        DESTDIR = ../../build/debug/x64/ImageProcessingAlgorithm
    }
} else {
    # 发布模式路径
    contains(QMAKE_HOST.arch, i386) {
        DESTDIR = ../../build/release/x86/ImageProcessingAlgorithm
    } else {
        DESTDIR = ../../build/release/x64/ImageProcessingAlgorithm
    }
}


SOURCES += \
    RotationImageAlgorithm.cpp \
    RotationImageSettingsForm.cpp

HEADERS += \
    RotationImageAlgorithm.h \
    RotationImageSettingsForm.h \
    ../../ImageProcessingManagerPlugin/ImageProcessingAlgorithmBase.h


INCLUDEPATH += ../../ImageProcessingManagerPlugin


FORMS += \
    RotationImageSettingsForm.ui

RESOURCES += \
    icon.qrc